The Metric for Automatic Code Generation Based on Dynamic Abstract Syntax Tree

نویسندگان

چکیده

In order to improve the efficiency and quality of software development, automatic code generation technology is current focus. The generated by also an important issue. However, existing metrics for ignore that programming process a continuous dynamic changeable process. So metric This article proposes method based on abstract syntax tree (DAST). More specifically, first builds DAST through interaction in behavior information between tool programmer. Then measurement contents are extracted DAST. Finally, completed with extracted. experiment results show can effectively realize generation. Compared MAST method, this convergence speed 80% when training model, shorten time-consuming average 46% doing prediction.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improving Abstract Syntax Tree based Source Code Change Detection

This document sets the direction for my diploma thesis on the subject how applying similarity measures might improve abstract syntax tree based source code change detection. It defines the main tasks, as well as the envisioned outcome of my work and serves as tentative schedule by specifying work packages, i. e. Milestones, and associated deadlines. The remainder of this document is organized a...

متن کامل

Abstract Syntax Networks for Code Generation and Semantic Parsing

Tasks like code generation and semantic parsing require mapping unstructured (or partially structured) inputs to well-formed, executable outputs. We introduce abstract syntax networks, a modeling framework for these problems. The outputs are represented as abstract syntax trees (ASTs) and constructed by a decoder with a dynamically-determined modular structure paralleling the structure of the o...

متن کامل

Automatic Code Generation from the OMT-based Dynamic Model

The OMT object-oriented software development methodology suggests creating three models of the system, i.e., object model, dynamic model and functional model. We have developed a system that automatically generates implementation code from the dynamic model. The system first represents the dynamic model as a table and then generates executable Java language code from it. We used inheritance for...

متن کامل

Design and Implementation of Abstract Syntax of AADL and Code Generation Based on Spoofax/XL

With the research in the technology of AADL, we design and realize the parser for AADL and code generation tools which transform AADL model into C source code based on Spoofax/XL. This lays a good foundation for further realizing the AADL unified modeling, verification, implementation and code generation integrated environment.

متن کامل

Aster: Automatic Abstract Syntax

Modern parser generators typically require two components: an abstract syntax data structure and a concrete syntax grammar specification. Usually the abstract syntax and the concrete syntax are closely related but are specified independently because it is difficult to distinguish what parts of the concrete syntax are associated with the abstract syntax. There are a few add-ons to parser generat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: International Journal of Digital Crime and Forensics

سال: 2023

ISSN: ['1941-6229', '1941-6210']

DOI: https://doi.org/10.4018/ijdcf.325062